// ================================================== //
// ============= BEBOPTOOLS : BOPBOARD ============== //
// ================================================== //

// Samuel Kvaalen
// les structures pour l'interface (boutons, etc)

// ================================================== //

typedef struct button_push_img {
	SDL_Surface *imgup;
	SDL_Surface *imgdown;
} one_button_img, * button_img;

typedef struct button_struct {
	SDL_Rect pos;
	SDL_Rect size;
	int pressed;
	button_img *img;
} one_button, *gui_button;

typedef struct funcbutton_struct {
	SDL_Rect pos;
	SDL_Rect size;
	SDL_Surface *img;
	void (*func)();
} gui_funcbutton;

typedef struct plate_struct {
	SDL_Rect pos;
	SDL_Surface *img;
} gui_plate;
